Skip to content

Conversation

@maxime-oe
Copy link
Contributor

@maxime-oe maxime-oe commented Jan 9, 2026

Explanation

Gnosis and MapleStory Universe (MSU aka Henesys) have the particularity of have a native token that has an address different from 0x0000000000000000000000000000000000000000.
This PR adds those networks to the list chainIdToNativeTokenAddress.

References

Checklist

  • I've updated the test suite for new or updated code as appropriate
  • I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate
  • I've communicated my changes to consumers by updating changelogs for packages I've changed
  • I've introduced breaking changes in this PR and have prepared draft pull requests for clients and consumer packages to resolve them

Note

Ensures native price lookups use the correct non-zero addresses.

  • Add mappings in chainIdToNativeTokenAddress for 0x64 (Gnosis) and 0x10b3e (MapleStory Universe) in codefi-v2.ts so getNativeTokenAddress returns their specific addresses
  • Update CHANGELOG.md under Fixed to note the added native coin non-zero addresses

Written by Cursor Bugbot for commit bcce0da. This will update automatically on new commits. Configure here.

@maxime-oe maxime-oe force-pushed the fix/addNetworksNonZeroNative branch from 572cce6 to cf413e9 Compare January 9, 2026 09:52
@maxime-oe maxime-oe marked this pull request as ready for review January 9, 2026 09:52
@maxime-oe maxime-oe requested review from a team as code owners January 9, 2026 09:52
@maxime-oe maxime-oe force-pushed the fix/addNetworksNonZeroNative branch from cf413e9 to 97ea2ca Compare January 9, 2026 09:58
@maxime-oe maxime-oe force-pushed the fix/addNetworksNonZeroNative branch from 97ea2ca to 2005e5c Compare January 9, 2026 10:11
@maxime-oe maxime-oe force-pushed the fix/addNetworksNonZeroNative branch from 2005e5c to bcce0da Compare January 9, 2026 15:02
@maxime-oe maxime-oe added this pull request to the merge queue Jan 9, 2026
Merged via the queue into main with commit 339a545 Jan 9, 2026
286 checks passed
@maxime-oe maxime-oe deleted the fix/addNetworksNonZeroNative branch January 9, 2026 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants